package io.cloud.tec.ant_design_vue_pro.dto.convert;

import io.cloud.tec.ant_design_vue_pro.dto.FreeServiceRespDTO;
import io.cloud.tec.ant_design_vue_pro.entity.FreeService;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

@Mapper
public interface FreeServiceConvert {
    FreeServiceConvert INSTANCE = Mappers.getMapper(FreeServiceConvert.class);

    FreeServiceRespDTO map(FreeService value);

    List<FreeServiceRespDTO> toFreeServiceRespDTOList(List<FreeService> freeService);
}
